package com.authine.cloudpivot.ext.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class VendorGoodDto extends  PageObject {
    @Schema(description = "类型")
    private String type;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "规格")
    private String spec;

    @Schema(description = "0代表无效  1代表有效")
    private String priceState;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "结束时间")
    private Date endTime;
}
